package com.idealighter.game.roomcard.struct.convert;

import com.idealighter.game.roomcard.struct.RoomCardRoomCfg;
import com.idealighter.game.server.db.datadb.generate.domain.RoomCardRoomListDomain;

import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.factory.Mappers;

@Mapper
public interface RoomCardRoomListConvert {
  public static final RoomCardRoomListConvert INSTANCE =
      Mappers.getMapper(RoomCardRoomListConvert.class);

  // public void po2bo(@MappingTarget RoomCardRoomCfg<? extends RoomCardRoomCfgValue> result,
  // RoomCardRoomListDomain domain);
  //
  // public RoomCardRoomCfg<? extends RoomCardRoomCfgValue> po2bo(RoomCardRoomListDomain domain);
  //
  // public List<RoomCardRoomCfg<? extends RoomCardRoomCfgValue>> po2bo(
  // List<RoomCardRoomListDomain> domains);

  public void po2bo(@SuppressWarnings("rawtypes") @MappingTarget RoomCardRoomCfg result,
      RoomCardRoomListDomain domain);

  // @SuppressWarnings("rawtypes")
  // public RoomCardRoomCfg po2bo(RoomCardRoomListDomain domain);

  // @SuppressWarnings("rawtypes")
  // public List<RoomCardRoomCfg> po2bo(List<RoomCardRoomListDomain> domains);

  public RoomCardRoomListDomain bo2po(@SuppressWarnings("rawtypes") RoomCardRoomCfg bo);
}
